const path = require('path')
const srcPath = path.resolve(__dirname, 'src')

module.exports = {
  resolve: {
    extensions: ['.ts','.tsx','...'],
  },
  entry: path.resolve(__dirname,'src','ts','index.tsx'),
  output: {
    path: path.resolve(__dirname,'lib'),
    filename:'PacktDataStructuresAlgorithms.js',
    library: 'PacktDataStructuresAlgorithms',
    libraryTarget: 'umd',
    umdNamedDefine: true
  },
}